<?php

use Illuminate\Database\Seeder;
use Pingpong\Admin\Entities\User;
class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $user = User::create([
            'name'=>'admin2',
            'email' => '474790700@qq.com',
            'password' => 'abcabc',
        ]);

        $user->addRole(1);
    }
}
